//
//  YUYAAllAreaListTableView.h
//  com.yigu.yuya
//
//  Created by hxp on 16/3/9.
//  Copyright © 2016年 hxp. All rights reserved.
//

#import <UIKit/UIKit.h>


#import "YAYIAllAreaListCell.h"

@protocol  YAYIAllAreaListTableViewDelegate<NSObject>
-(void)countryCode:(NSString *)countryCode countryName:(NSString *)countryName;

@end

@interface YAYIAllAreaListTableView : UIView<UITableViewDataSource,UITableViewDelegate>

@property (nonatomic,strong)UITableView *allAreaListTableView;
@property (nonatomic,strong)NSMutableArray *dataAry;
@property (nonatomic,strong)NSString *title;
@property (nonatomic,strong)UILabel *titleLabel;
@property (nonatomic,strong)YAYIAllAreaListCell *lastCell;
@property (nonatomic,strong)UIViewController *viewController;
@property (nonatomic,strong)id <YAYIAllAreaListTableViewDelegate>delegate;

-(instancetype)initWithFrame:(CGRect)frame;
//-(void)setHeaderTitle:(NSString *)title;
-(void)createDataSource:(NSString *)areaCode areaName:(NSString *)areaName;
-(void)setMyViewController:(UIViewController *)viewController;
@end
